package com.longsunhd.yum.buffalo.bean;

import com.longsunhd.yum.buffalo.widget.nicespinner.ISpinnerName;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：黄宣淇
 * 时间：2021/5/12 0012
 * 如何代码没有备注，一个月后，只有你和上帝知道--鲁迅
 */
public class BaffaloDetailBean  implements Serializable{

    /**
     * code : 200
     * data : {"id":2,"name":"编号：c60aade2802b 特征：其他|母|300.0kg|饲养期","breed":"其他","meadow":"南宁三塘某牧场","barn":"2号牛舍","sn":"c60aade2802b","birthday":"2021-04-01 00:00:00","lairage_date":"2021-04-22 00:00:00","gender":"母","init_weight":"110.0","current_weight":"300.0","estrus":"否","estrus_date":null,"status":"饲养期","health":"正常","remark":null,"medicationLog":{"list":[],"page":{"total":0,"currentPage":1,"perPage":10,"hasMorePages":false}},"checkedLog":{"list":[{"weight":"566.0","status":"异常","report":"","remark":null,"operator":"牧场管理员 [超级管理员]","created_at":"2021-04-27"}],"page":{"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}},"inspectionLog":{"list":[{"vaccine":"牛巴氏杆菌病油乳剂疫苗<br> [广西生物制品厂] | 202103","status":"正常","report":"","remark":null,"operator":"牧场管理员 [超级管理员]","created_at":"2021-05-03"}],"page":{"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}},"milkLog":{"list":[{"production":"179.0","date":"2021-04-22 00:00:00","operator":"牧场管理员 [超级管理员]"},{"production":"216.0","date":"2021-04-23 00:00:00","operator":"牧场管理员 [超级管理员]"},{"production":"145.0","date":"2021-04-24 00:00:00","operator":"牧场管理员 [超级管理员]"}],"page":{"total":3,"currentPage":1,"perPage":10,"hasMorePages":false}},"pregnancyLog":{"list":[{"fa_buffalo":{"name":"","user":"李四","breed":"地中海水牛","meadow":"南宁三塘某牧场","barn":"1号牛舍","sn":"185693cad44d"},"ma_buffalo":{"name":"当前牛只"},"pregnant_date":null,"birth_date":null,"status":"未受孕","remark":null,"operator":"牧场管理员 [超级管理员]"}],"page":{"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}},"spermLog":{"list":[],"page":{"total":0,"currentPage":1,"perPage":10,"hasMorePages":false}},"growthLog":[]}
     * msg :
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean implements Serializable, ISpinnerName {
        /**
         * id : 2
         * name : 编号：c60aade2802b 特征：其他|母|300.0kg|饲养期
         * breed : 其他
         * meadow : 南宁三塘某牧场
         * barn : 2号牛舍
         * sn : c60aade2802b
         * birthday : 2021-04-01 00:00:00
         * lairage_date : 2021-04-22 00:00:00
         * gender : 母
         * init_weight : 110.0
         * current_weight : 300.0
         * estrus : 否
         * estrus_date : null
         * status : 饲养期
         * health : 正常
         * remark : null
         * medicationLog : {"list":[],"page":{"total":0,"currentPage":1,"perPage":10,"hasMorePages":false}}
         * checkedLog : {"list":[{"weight":"566.0","status":"异常","report":"","remark":null,"operator":"牧场管理员 [超级管理员]","created_at":"2021-04-27"}],"page":{"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}}
         * inspectionLog : {"list":[{"vaccine":"牛巴氏杆菌病油乳剂疫苗<br> [广西生物制品厂] | 202103","status":"正常","report":"","remark":null,"operator":"牧场管理员 [超级管理员]","created_at":"2021-05-03"}],"page":{"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}}
         * milkLog : {"list":[{"production":"179.0","date":"2021-04-22 00:00:00","operator":"牧场管理员 [超级管理员]"},{"production":"216.0","date":"2021-04-23 00:00:00","operator":"牧场管理员 [超级管理员]"},{"production":"145.0","date":"2021-04-24 00:00:00","operator":"牧场管理员 [超级管理员]"}],"page":{"total":3,"currentPage":1,"perPage":10,"hasMorePages":false}}
         * pregnancyLog : {"list":[{"fa_buffalo":{"name":"","user":"李四","breed":"地中海水牛","meadow":"南宁三塘某牧场","barn":"1号牛舍","sn":"185693cad44d"},"ma_buffalo":{"name":"当前牛只"},"pregnant_date":null,"birth_date":null,"status":"未受孕","remark":null,"operator":"牧场管理员 [超级管理员]"}],"page":{"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}}
         * spermLog : {"list":[],"page":{"total":0,"currentPage":1,"perPage":10,"hasMorePages":false}}
         * growthLog : []
         */

        private int id;
        private String name;
        private String breed;
        private String meadow;
        private String barn;
        private String sn;
        private String birthday;
        private String lairage_date;
        private String gender;
        private String init_weight;
        private String current_weight;
        private String estrus;
        private String estrus_date;
        private String status;
        private String health;
        private String remark;
        private MedicationLogBean medicationLog;
        private CheckedLogBean checkedLog;
        private InspectionLogBean inspectionLog;
        private MilkLogBean milkLog;
        private PregnancyLogBean pregnancyLog;
        private SpermLogBean spermLog;
        private List<?> growthLog;
        private String value;

        public void setValue(String value) {
            this.value = value;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        @Override
        public String getValue() {
            return null;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBreed() {
            return breed;
        }

        public void setBreed(String breed) {
            this.breed = breed;
        }

        public String getMeadow() {
            return meadow;
        }

        public void setMeadow(String meadow) {
            this.meadow = meadow;
        }

        public String getBarn() {
            return barn;
        }

        public void setBarn(String barn) {
            this.barn = barn;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getLairage_date() {
            return lairage_date;
        }

        public void setLairage_date(String lairage_date) {
            this.lairage_date = lairage_date;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getInit_weight() {
            return init_weight;
        }

        public void setInit_weight(String init_weight) {
            this.init_weight = init_weight;
        }

        public String getCurrent_weight() {
            return current_weight;
        }

        public void setCurrent_weight(String current_weight) {
            this.current_weight = current_weight;
        }

        public String getEstrus() {
            return estrus;
        }

        public void setEstrus(String estrus) {
            this.estrus = estrus;
        }

        public String getEstrus_date() {
            return estrus_date;
        }

        public void setEstrus_date(String estrus_date) {
            this.estrus_date = estrus_date;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getHealth() {
            return health;
        }

        public void setHealth(String health) {
            this.health = health;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public MedicationLogBean getMedicationLog() {
            return medicationLog;
        }

        public void setMedicationLog(MedicationLogBean medicationLog) {
            this.medicationLog = medicationLog;
        }

        public CheckedLogBean getCheckedLog() {
            return checkedLog;
        }

        public void setCheckedLog(CheckedLogBean checkedLog) {
            this.checkedLog = checkedLog;
        }

        public InspectionLogBean getInspectionLog() {
            return inspectionLog;
        }

        public void setInspectionLog(InspectionLogBean inspectionLog) {
            this.inspectionLog = inspectionLog;
        }

        public MilkLogBean getMilkLog() {
            return milkLog;
        }

        public void setMilkLog(MilkLogBean milkLog) {
            this.milkLog = milkLog;
        }

        public PregnancyLogBean getPregnancyLog() {
            return pregnancyLog;
        }

        public void setPregnancyLog(PregnancyLogBean pregnancyLog) {
            this.pregnancyLog = pregnancyLog;
        }

        public SpermLogBean getSpermLog() {
            return spermLog;
        }

        public void setSpermLog(SpermLogBean spermLog) {
            this.spermLog = spermLog;
        }

        public List<?> getGrowthLog() {
            return growthLog;
        }

        public void setGrowthLog(List<?> growthLog) {
            this.growthLog = growthLog;
        }

        public static class MedicationLogBean implements Serializable {
            /**
             * list : []
             * page : {"total":0,"currentPage":1,"perPage":10,"hasMorePages":false}
             */

            private List<?> list;
            private PageBean page;

            public List<?> getList() {
                return list;
            }

            public void setList(List<?> list) {
                this.list = list;
            }

            public PageBean getPage() {
                return page;
            }

            public void setPage(PageBean page) {
                this.page = page;
            }

            public static class PageBean implements Serializable {
                /**
                 * total : 0
                 * currentPage : 1
                 * perPage : 10
                 * hasMorePages : false
                 */

                private int total;
                private int currentPage;
                private int perPage;
                private boolean hasMorePages;

                public int getTotal() {
                    return total;
                }

                public void setTotal(int total) {
                    this.total = total;
                }

                public int getCurrentPage() {
                    return currentPage;
                }

                public void setCurrentPage(int currentPage) {
                    this.currentPage = currentPage;
                }

                public int getPerPage() {
                    return perPage;
                }

                public void setPerPage(int perPage) {
                    this.perPage = perPage;
                }

                public boolean isHasMorePages() {
                    return hasMorePages;
                }

                public void setHasMorePages(boolean hasMorePages) {
                    this.hasMorePages = hasMorePages;
                }
            }
        }

        public static class CheckedLogBean implements Serializable {
            /**
             * list : [{"weight":"566.0","status":"异常","report":"","remark":null,"operator":"牧场管理员 [超级管理员]","created_at":"2021-04-27"}]
             * page : {"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}
             */

            private List<ListBean> list;
            private PageBean page;

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public PageBean getPage() {
                return page;
            }

            public void setPage(PageBean page) {
                this.page = page;
            }

            public static class PageBean implements Serializable {
                /**
                 * total : 1
                 * currentPage : 1
                 * perPage : 10
                 * hasMorePages : false
                 */

                private int total;
                private int currentPage;
                private int perPage;
                private boolean hasMorePages;

                public int getTotal() {
                    return total;
                }

                public void setTotal(int total) {
                    this.total = total;
                }

                public int getCurrentPage() {
                    return currentPage;
                }

                public void setCurrentPage(int currentPage) {
                    this.currentPage = currentPage;
                }

                public int getPerPage() {
                    return perPage;
                }

                public void setPerPage(int perPage) {
                    this.perPage = perPage;
                }

                public boolean isHasMorePages() {
                    return hasMorePages;
                }

                public void setHasMorePages(boolean hasMorePages) {
                    this.hasMorePages = hasMorePages;
                }
            }

            public static class ListBean  implements Serializable{
                /**
                 * weight : 566.0
                 * status : 异常
                 * report :
                 * remark : null
                 * operator : 牧场管理员 [超级管理员]
                 * created_at : 2021-04-27
                 */

                private String weight;
                private String status;
                private String report;
                private Object remark;
                private String operator;
                private String created_at;

                public String getWeight() {
                    return weight;
                }

                public void setWeight(String weight) {
                    this.weight = weight;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getReport() {
                    return report;
                }

                public void setReport(String report) {
                    this.report = report;
                }

                public Object getRemark() {
                    return remark;
                }

                public void setRemark(Object remark) {
                    this.remark = remark;
                }

                public String getOperator() {
                    return operator;
                }

                public void setOperator(String operator) {
                    this.operator = operator;
                }

                public String getCreated_at() {
                    return created_at;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }
            }
        }

        public static class InspectionLogBean implements Serializable {
            /**
             * list : [{"vaccine":"牛巴氏杆菌病油乳剂疫苗<br> [广西生物制品厂] | 202103","status":"正常","report":"","remark":null,"operator":"牧场管理员 [超级管理员]","created_at":"2021-05-03"}]
             * page : {"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}
             */

            private List<ListBean> list;
            private PageBean page;

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public PageBean getPage() {
                return page;
            }

            public void setPage(PageBean page) {
                this.page = page;
            }

            public static class PageBean implements Serializable {
                /**
                 * total : 1
                 * currentPage : 1
                 * perPage : 10
                 * hasMorePages : false
                 */

                private int total;
                private int currentPage;
                private int perPage;
                private boolean hasMorePages;

                public int getTotal() {
                    return total;
                }

                public void setTotal(int total) {
                    this.total = total;
                }

                public int getCurrentPage() {
                    return currentPage;
                }

                public void setCurrentPage(int currentPage) {
                    this.currentPage = currentPage;
                }

                public int getPerPage() {
                    return perPage;
                }

                public void setPerPage(int perPage) {
                    this.perPage = perPage;
                }

                public boolean isHasMorePages() {
                    return hasMorePages;
                }

                public void setHasMorePages(boolean hasMorePages) {
                    this.hasMorePages = hasMorePages;
                }
            }

            public static class ListBean implements Serializable {
                /**
                 * vaccine : 牛巴氏杆菌病油乳剂疫苗<br> [广西生物制品厂] | 202103
                 * status : 正常
                 * report :
                 * remark : null
                 * operator : 牧场管理员 [超级管理员]
                 * created_at : 2021-05-03
                 */

                private String vaccine;
                private String status;
                private String report;
                private Object remark;
                private String operator;
                private String created_at;

                public String getVaccine() {
                    return vaccine;
                }

                public void setVaccine(String vaccine) {
                    this.vaccine = vaccine;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getReport() {
                    return report;
                }

                public void setReport(String report) {
                    this.report = report;
                }

                public Object getRemark() {
                    return remark;
                }

                public void setRemark(Object remark) {
                    this.remark = remark;
                }

                public String getOperator() {
                    return operator;
                }

                public void setOperator(String operator) {
                    this.operator = operator;
                }

                public String getCreated_at() {
                    return created_at;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }
            }
        }

        public static class MilkLogBean implements Serializable {
            /**
             * list : [{"production":"179.0","date":"2021-04-22 00:00:00","operator":"牧场管理员 [超级管理员]"},{"production":"216.0","date":"2021-04-23 00:00:00","operator":"牧场管理员 [超级管理员]"},{"production":"145.0","date":"2021-04-24 00:00:00","operator":"牧场管理员 [超级管理员]"}]
             * page : {"total":3,"currentPage":1,"perPage":10,"hasMorePages":false}
             */

            private List<ListBean> list;
            private PageBean page;

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public PageBean getPage() {
                return page;
            }

            public void setPage(PageBean page) {
                this.page = page;
            }

            public static class PageBean implements Serializable {
                /**
                 * total : 3
                 * currentPage : 1
                 * perPage : 10
                 * hasMorePages : false
                 */

                private int total;
                private int currentPage;
                private int perPage;
                private boolean hasMorePages;

                public int getTotal() {
                    return total;
                }

                public void setTotal(int total) {
                    this.total = total;
                }

                public int getCurrentPage() {
                    return currentPage;
                }

                public void setCurrentPage(int currentPage) {
                    this.currentPage = currentPage;
                }

                public int getPerPage() {
                    return perPage;
                }

                public void setPerPage(int perPage) {
                    this.perPage = perPage;
                }

                public boolean isHasMorePages() {
                    return hasMorePages;
                }

                public void setHasMorePages(boolean hasMorePages) {
                    this.hasMorePages = hasMorePages;
                }
            }

            public static class ListBean implements Serializable {
                /**
                 * production : 179.0
                 * date : 2021-04-22 00:00:00
                 * operator : 牧场管理员 [超级管理员]
                 */

                private String production;
                private String date;
                private String operator;

                public String getProduction() {
                    return production;
                }

                public void setProduction(String production) {
                    this.production = production;
                }

                public String getDate() {
                    return date;
                }

                public void setDate(String date) {
                    this.date = date;
                }

                public String getOperator() {
                    return operator;
                }

                public void setOperator(String operator) {
                    this.operator = operator;
                }
            }
        }

        public static class PregnancyLogBean implements Serializable {
            /**
             * list : [{"fa_buffalo":{"name":"","user":"李四","breed":"地中海水牛","meadow":"南宁三塘某牧场","barn":"1号牛舍","sn":"185693cad44d"},"ma_buffalo":{"name":"当前牛只"},"pregnant_date":null,"birth_date":null,"status":"未受孕","remark":null,"operator":"牧场管理员 [超级管理员]"}]
             * page : {"total":1,"currentPage":1,"perPage":10,"hasMorePages":false}
             */

            private List<ListBean> list;
            private PageBean page;

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public PageBean getPage() {
                return page;
            }

            public void setPage(PageBean page) {
                this.page = page;
            }

            public static class PageBean  implements Serializable{
                /**
                 * total : 1
                 * currentPage : 1
                 * perPage : 10
                 * hasMorePages : false
                 */

                private int total;
                private int currentPage;
                private int perPage;
                private boolean hasMorePages;

                public int getTotal() {
                    return total;
                }

                public void setTotal(int total) {
                    this.total = total;
                }

                public int getCurrentPage() {
                    return currentPage;
                }

                public void setCurrentPage(int currentPage) {
                    this.currentPage = currentPage;
                }

                public int getPerPage() {
                    return perPage;
                }

                public void setPerPage(int perPage) {
                    this.perPage = perPage;
                }

                public boolean isHasMorePages() {
                    return hasMorePages;
                }

                public void setHasMorePages(boolean hasMorePages) {
                    this.hasMorePages = hasMorePages;
                }
            }

            public static class ListBean implements Serializable {
                /**
                 * fa_buffalo : {"name":"","user":"李四","breed":"地中海水牛","meadow":"南宁三塘某牧场","barn":"1号牛舍","sn":"185693cad44d"}
                 * ma_buffalo : {"name":"当前牛只"}
                 * pregnant_date : null
                 * birth_date : null
                 * status : 未受孕
                 * remark : null
                 * operator : 牧场管理员 [超级管理员]
                 */

                private FaBuffaloBean fa_buffalo;
                private MaBuffaloBean ma_buffalo;
                private Object pregnant_date;
                private Object birth_date;
                private String status;
                private Object remark;
                private String operator;

                public FaBuffaloBean getFa_buffalo() {
                    return fa_buffalo;
                }

                public void setFa_buffalo(FaBuffaloBean fa_buffalo) {
                    this.fa_buffalo = fa_buffalo;
                }

                public MaBuffaloBean getMa_buffalo() {
                    return ma_buffalo;
                }

                public void setMa_buffalo(MaBuffaloBean ma_buffalo) {
                    this.ma_buffalo = ma_buffalo;
                }

                public Object getPregnant_date() {
                    return pregnant_date;
                }

                public void setPregnant_date(Object pregnant_date) {
                    this.pregnant_date = pregnant_date;
                }

                public Object getBirth_date() {
                    return birth_date;
                }

                public void setBirth_date(Object birth_date) {
                    this.birth_date = birth_date;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public Object getRemark() {
                    return remark;
                }

                public void setRemark(Object remark) {
                    this.remark = remark;
                }

                public String getOperator() {
                    return operator;
                }

                public void setOperator(String operator) {
                    this.operator = operator;
                }

                public static class FaBuffaloBean implements Serializable {
                    /**
                     * name :
                     * user : 李四
                     * breed : 地中海水牛
                     * meadow : 南宁三塘某牧场
                     * barn : 1号牛舍
                     * sn : 185693cad44d
                     */

                    private String name;
                    private String user;
                    private String breed;
                    private String meadow;
                    private String barn;
                    private String sn;

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getUser() {
                        return user;
                    }

                    public void setUser(String user) {
                        this.user = user;
                    }

                    public String getBreed() {
                        return breed;
                    }

                    public void setBreed(String breed) {
                        this.breed = breed;
                    }

                    public String getMeadow() {
                        return meadow;
                    }

                    public void setMeadow(String meadow) {
                        this.meadow = meadow;
                    }

                    public String getBarn() {
                        return barn;
                    }

                    public void setBarn(String barn) {
                        this.barn = barn;
                    }

                    public String getSn() {
                        return sn;
                    }

                    public void setSn(String sn) {
                        this.sn = sn;
                    }
                }

                public static class MaBuffaloBean implements Serializable {
                    /**
                     * name : 当前牛只
                     */

                    private String name;

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }
            }
        }

        public static class SpermLogBean implements Serializable {
            /**
             * list : []
             * page : {"total":0,"currentPage":1,"perPage":10,"hasMorePages":false}
             */

            private List<?> list;
            private PageBean page;

            public List<?> getList() {
                return list;
            }

            public void setList(List<?> list) {
                this.list = list;
            }

            public PageBean getPage() {
                return page;
            }

            public void setPage(PageBean page) {
                this.page = page;
            }

            public static class PageBean implements Serializable {
                /**
                 * total : 0
                 * currentPage : 1
                 * perPage : 10
                 * hasMorePages : false
                 */

                private int total;
                private int currentPage;
                private int perPage;
                private boolean hasMorePages;

                public int getTotal() {
                    return total;
                }

                public void setTotal(int total) {
                    this.total = total;
                }

                public int getCurrentPage() {
                    return currentPage;
                }

                public void setCurrentPage(int currentPage) {
                    this.currentPage = currentPage;
                }

                public int getPerPage() {
                    return perPage;
                }

                public void setPerPage(int perPage) {
                    this.perPage = perPage;
                }

                public boolean isHasMorePages() {
                    return hasMorePages;
                }

                public void setHasMorePages(boolean hasMorePages) {
                    this.hasMorePages = hasMorePages;
                }
            }
        }
    }
}
